package o;

import android.content.Context;
import java.io.File;
import o.up.e;

public final class uq extends up {

    class AnonymousClass1 implements e {
        final /* synthetic */ Context ˊ;
        final /* synthetic */ String ˎ;

        AnonymousClass1(Context context, String str) {
            this.ˊ = context;
            this.ˎ = str;
        }

        public File ˋ() {
            File cacheDir = this.ˊ.getCacheDir();
            if (cacheDir == null) {
                return null;
            }
            return this.ˎ != null ? new File(cacheDir, this.ˎ) : cacheDir;
        }
    }

    public uq(Context context) {
        this(context, "image_manager_disk_cache", 262144000);
    }

    public uq(Context context, String str, long j) {
        super(new AnonymousClass1(context, str), j);
    }
}
